N=200000

all:
	python mkIndices.py $N instances instance_types_en.nt > instances.py
	python mkIndices.py $N abstracts short_abstracts_en.nt > abstracts.py
	python mkWordIndices.py > words.py

test:
	python testIndices.py instances instance_types_en.nt
	python testIndices.py abstracts short_abstracts_en.nt

download:
	wget http://downloads.dbpedia.org/3.6/en/instance_types_en.nt.bz2
	wget http://downloads.dbpedia.org/3.6/en/short_abstracts_en.nt.bz2
	bunzip2 *.bz2
